package com.tj.shopping.entity;

import java.io.Serializable;

/**
 * (Admin)实体类
 *      管理员
 * @author makejava
 * @since 2023-12-18 20:09:47
 */
public class Admin implements Serializable {
    private static final long serialVersionUID = 833269407036387255L;

    private Integer ano;//管理员编号

    private String aname;//管理员名称

    private String apwd;//密码

    private String atel;//手机号

    private String asex;//性别

    private String role;//角色（超级管理员，一级管理员，二级管理员）

    private Integer astate;//状态（冻结，正常）

    private String temp01;


    public Integer getAno() {
        return ano;
    }

    public void setAno(Integer ano) {
        this.ano = ano;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getApwd() {
        return apwd;
    }

    public void setApwd(String apwd) {
        this.apwd = apwd;
    }

    public String getAtel() {
        return atel;
    }

    public void setAtel(String atel) {
        this.atel = atel;
    }

    public String getAsex() {
        return asex;
    }

    public void setAsex(String asex) {
        this.asex = asex;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Integer getAstate() {
        return astate;
    }

    public void setAstate(Integer astate) {
        this.astate = astate;
    }

    public String getTemp01() {
        return temp01;
    }

    public void setTemp01(String temp01) {
        this.temp01 = temp01;
    }

    public Admin() {
    }

    public Admin(Integer ano, String aname, String apwd, String atel,
                 String asex, String role, Integer astate, String temp01) {
        this.ano = ano;
        this.aname = aname;
        this.apwd = apwd;
        this.atel = atel;
        this.asex = asex;
        this.role = role;
        this.astate = astate;
        this.temp01 = temp01;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "ano=" + ano +
                ", aname='" + aname + '\'' +
                ", apwd='" + apwd + '\'' +
                ", atel='" + atel + '\'' +
                ", asex='" + asex + '\'' +
                ", role='" + role + '\'' +
                ", astate=" + astate +
                ", temp01='" + temp01 + '\'' +
                '}';
    }
}

